#include <BustaModelCompleteSandwich.h>
Public Member Functions | |
BustaModelCompleteSandwich () | |
Constructor. | |
~BustaModelCompleteSandwich () | |
Destructor. | |
int | getWho () |
Gets opponent id. | |
void | setWho (int w) |
Sets opponent id. | |
BustaModelFoodPiece * | getIngredient (int n) |
Get specified sandwich ingredient. | |
void | setIngredient (BustaModelFoodPiece *fp, int n) |
Sets specified sandwich ingredient. | |
int | getState () |
returns freshness state of complete sandwich |
Busta'Sandwich Complete Sandwich model for representing sandwiches that have been made
|
Constructor. Initializes variables |
|
Destructor. Deletes all of the foodpiece models within the complete sandwich represenation |
|
Get specified sandwich ingredient. Returns the ingredient at the specified location in the array |
|
returns freshness state of complete sandwich Returns an int between -1 and 1 with 1 being the most fresh |
|
Gets opponent id. Returns the opponent id that the sandwich is being sent to |
|
Sets specified sandwich ingredient. Sets the ingredient at the specified location in the array to given foodpiece, deletes foodpiece currently in that location |
|
Sets opponent id. Sets who the sandwich is going to |